package com.sinocare.project.common.domin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("scc_medical_result")
public class SccMedicalResult implements Serializable {
    private static final long serialVersionUID = 827223063825890761L;
    @TableId(value = "result_id", type = IdType.AUTO)
    private Integer resultId;               //检测结果ids
    private Integer patientId;              //检测者id
    private Integer surveyorId;             //检测人员id
    private Double bmiResult;               //BMI身体质量指数
    private Double gluResult;               //血糖值1
    private Integer gluFoodStatus;          //指的是空腹\\餐后\\随机,血糖食物状态
    private Double hbaicResult;             //糖化血红蛋白1
    private Integer uaResult;               //血尿酸1
    private Double hdlCResult;              //高密度脂蛋白胆固醇1
    private Double ldlCResult;              //低密度脂蛋白胆固醇1
    private Double tgResult;                //甘油三脂1
    private Double cholResult;              //总胆固醇1
    private Double tcHdlCResult;           //总胆/高密比值1
    private Double ketResult;               //血酮1
    private Integer sbpResult;              //收缩压1
    private Integer dbpResult;              //舒张压1
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;                //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;                //修改时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date testTime;                  //检测时间
    private Date status;                    //状态
    private String remark;                  //备注1
}
